home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
rbbs_pc
/
fmsck20.zip
/
FMSCHECK.DOC
< prev
next >
Wrap
Text File
|
1989-10-18
|
12KB
|
339 lines
T H E F M S C H E C K E R
Version 2 . 0
Written By
Ethan Poole
P.O. Box 1090
Trenton, FL 32693-1090
[voice] (904) 463-6108
The EHP Software Exchange
[data] (904) 463-0027
300/1200/2400 Baud
24 hrs, 7-days
October 17, 1989
THE FMS CHECKER 2.0 Written by: Ethan Poole EHP Software
Exchange
Dedicated to the Exchange of ShareWare and PD Software. [data] (904)
463-0027
=============================================================================
=
This Program Consists of the Following Files:
o FMSCHECK.EXE --- The Executable File
(Compiled with QB 4.5)
o FMSCHECK.BAS --- QuickBASIC Source Code
o FMSCHECK.DOC --- This Text File
o WARNING.DOC --- Please read!
If you do not have all these files, then you may download the latest version
from my board at [data] (904) 463-0027, 24-hours a day.
I designed this program basically because there were no other programs at the
time that could handle my own particulary needs (notice I've included the
Source
Code so that you won't fall into my own dilemma).
FMSCHECK 2.0 does not support chained FMS's although I believe you could
achieve
the same results by merely running FMSCHECK multiple times with different
Configuration files (TFMSC.CFG in current directory is default). You may
feel
free to modify it to do so if you feel the need (please send me or upload to
me
a copy of your modifications so that I may consider them in future
revisions)!
It does, however, support extended descriptions (lines beginning with one or
two
spaces), RBBS-PC's special file security (line begins w/ =filename.zip ....
10
description--meaning file is only viewable and downloadable by those w/ a
security level of 10 or greater), SysOp-Only files and descriptions (lines
starts with a "/"), and plain Comment lines (lines beginning with an "*").
Purpose:
========
The purpose of FMSCHECK is to verify that each file in your FMS MASTER DIR
actually exists in one of your Download Directories and if it exists to
verify
that the corect filesize is in the list. If the file can not be found it
will
be logged to the specified error log file with the notation
"filename.ext<--File
Not Found!" and will not be included in the corrected FMS MASTER DIR LIST.
If
the file size is in error then it will be corrected and inserted in place of
the
old file size in the corrected FMS MASTER DIR LIST and a comment with the
notation "filename.ext.....<File Size Adjusted>" will be added to the Error
Log
file you specified.
One great application for a program of this nature is a SysOp who has just
reZIPped a few thousand files with the latest Compression Utility (like
upgrading from PK ZIP 0.92 to PK ZIP 1.01) and would very much like to update
the filesizes in his/her FMS MASTER DIR to reflect the reduction in file
sizes
but is just overwhelmed at the prospect of having to re-enter all the file
sizes
by hand! This program will do the dirty work for you! On top of that it
will
even notify you of files that you claim to have in your FMS MASTER DIR but
which
do not exist in your Download Directories.
Page 1
THE FMS CHECKER 2.0 Written by: Ethan Poole EHP Software
Exchange
Dedicated to the Exchange of ShareWare and PD Software. [data] (904)
463-0027
=============================================================================
=
Limitations:
============
o Must not have more than 100 Download Directories (Source Code could be
modified to handle more if your really need it)
o The filenames must be in spaces 1-13 of the fms directory with no
leading
spaces, slashes, or asterisks ("*").
o File sizes must be in spaces 14-22. If a value of zero is found to
be in these spaces (either you entered a "0" or a word like "varies"
or is left blank) the file size will remain as you set it and will not
be adjusted. File Sizes also should not exceed 2 Gigabytes!
o Date, Description, and Cat Code should begin at or after position 24.
Length of Description field is unimportant to this program, it copies
all remaining characters on the line following filename and file size
to the output file.
o Extended Descriptions must not exceed 23 lines in length.
*NOTE: Any problems you may discover in your usage of this program should be
reported to my by either [voice] (904) 463-6108 or [data] (904) 463-
0027 so that I may fix them.
DOS COMMAND LINE USAGE:
=======================
USAGE: [drive:\path\]FMSCHECK [drive:\path\config.fil]
where optional parameter [drive:\path\config.fil] is the Drive, Path, and
File Name containing the Configuration file for FMSCHECK. If no optional
parameters are entered (i.e. A:> FMSCHECK <ENTER KEY>) the default is
TFMSC.CFG in present directory.
FIRST TIME:
===========
Copy FMSCHECK.EXE to your RBBS directory and type FMSCHECK and press enter.
If
this is your first time running FMS CHECK in this Directory then you will be
prompted to enter the necessary configuration information.
EXAMPLE:
Drive, Path, and Filename for FMS MASTER DIR:
c:\dirs\master.dir
Drive, Path, and Filename for Corrected MASTER DIR:
c:\dirs\master.new
Drive, Path, and Filename to Log Errors to: c:\dirs\Error.Log
Drive, Path, and Filename to Append SysOp-Only Lines: c:\dirs\sysop.dir
Do You wish 'MOVE SYSOP-ONLY LINE' Default to be Yes (Y/N)? y
Drive and Directory Containing DL Files (or END to Quit): c:\rbbs\utils
Drive and Directory Containing DL Files (or END to Quit): c:\rbbs\comm
Drive and Directory Containing DL Files (or END to Quit):
c:\rbbs\bbs
\/
up to 97 more directories*
Page 2
THE FMS CHECKER 2.0 Written by: Ethan Poole EHP Software
Exchange
Dedicated to the Exchange of ShareWare and PD Software. [data] (904)
463-0027
=============================================================================
=
.
.
.
Drive and Directory Containing DL Files (or END to Quit): END
*NOTE: Typing "END" or pressing the Enter key by itself will automatically
end the request for DL directories.
*ALSO*: You should not use the same input or output filenames more than once,
FMSCHECK does not allow this and will only return you to the SETUP
screen if you make this error!
For the sake of efficiency you should try to enter your directories in order
of
size, directory containing largest number of files first...smallest directory
last. This way FMSCHECK does not have to waste as much time looking for the
majority of the files because it will hit on them in the first few tries
rather
than going all the way trough to the last dir.
You should see the Intro screen next, it lasts about 5 seconds, followed by a
screen allowing you 5 seconds to press 'Y' or 'N' if you wish it to move all
SysOp-Only lines and descriptions it encounters to a seperate SysOp-Only
Directory Listing, ignoring this indicates that you wish to leave all
SysOp-Only
("/...") lines to your default, after which a status screen that shows you
FMSCHECK in action. The top line is displayed only for your convenience,
mainly
trouble-shooting, with everything but the category codes displayed.
If FMSCHECK encountered any errors you will be informed by the final screen
and
requested to view your error log, which will list the encountered errors.
Modifications, Customizing, and Continued Use:
==============================================
(1) Regardless of whether you register your copy, you are obligated to drop
me a 'line' and let me know what you think of this, and any of my other
utilities which you may have used. I want to know if it was what you
expected it to be, if there were any problems and if you have any
suggestions for improvement in future versions! If too few people
express
an interest in this or other programs I write I will have to assume that
nobody considers them to be useful and that it is not worth my time and
trouble to update and release new versions in the future -- So PLEASE
let
me know what YOU THINK!
(2) I included the QuickBASIC Source Code so that you may customize this
software to meet *your* needs, however, if you customize, or just plain
use, the software and make frequent use of it, YOU *ARE OBLIGATED* TO
REGISTER YOUR COPY BY MAILING $15 (made payable to ETHAN POOLE) TO the
following ADDRESS:
Ethan Poole
The EHP Software Exchange
P.O. Box 1090
Trenton, FL 32693-1090
Please, if you use this software and appreciate it, send my the money, I need
it
so that I may expand my own BBS. Besides, if you wrote a program, wouldn't
you
like at least a MINIMAL reimbursement for your trouble and expenses?!?!
Page 3
THE FMS CHECKER 2.0 Written by: Ethan Poole EHP Software
Exchange
Dedicated to the Exchange of ShareWare and PD Software. [data] (904)
463-0027
=============================================================================
=
Question and Comments:
======================
All questions and comments concerning FMSCHECK should be directed to Ethan
Poole
o [voice] (904) 463-6108; 11 am - 10 pm (all returned calls will be
collect!)
o [data] (904) 463-0027; 24 hours, 7-days; 300/1200/2400 Baud
o or by FAX (904) 463-7666 (ATTN: ETHAN POOLE)
THANKS FOR YOUR SUPPORT...COMMENTS ARE WELCOME
Ethan Poole, SysOp
History of Revisions:
=====================
FMS Checker 1.0 -- 10/01/89 -- Did not delete extended descriptions which
belonged to non-existent [thus, deleted] files, could screw
up the modified listing.
FMS Checker 1.5 -- 10/09/89 -- Fixed FMS Extended Description Problem; added
some additional formatting to the Error Log File; added,
by request of Craig Kootsillas (of The C Line BBS [data 901-
427-1680] Specializing in 'C' Programming), an option permit-
ting you to tell FMS Checker to DELETE ALL SysOp-Only
description lines (those lines beginning with a "/"; and
setup FMS Checker to automatically copy all lines beginning
with a "\" straight to the new file without trying to inter-
pret it as a file and creating a listing in the Error Log
file, but I still have not included support for chained dirs.
FMS Checker 2.0 -- 10/17/89 -- SysOp-Only Lines may now be appended to a
SysOp-Only Directory File. Fixed incredibly stupid mistake
which has been in the program since 1.0 -- forgot to set
integer
representing file length to be a LONG Integer, previous
versions
made no filelength corrections to files exceeding 32K in
length.
BETTER RE-CHECK YOUR FMS MASTER DIR WITH THIS RELEASE! IT
WILL
PICK-UP WHERE 1.0 & 1.5 LEFT OFF! Sorry about the mistake!
FMS Checker x.x -- 00/00/00 -- Still waiting for YOUR Input!
P.S.--Why don't you give The EHP Software Exchange a Try.
Dial (904) 463-0027 Today!
ehp/10/09/89
Page 4